package co.baiku.boot.jobs;

import co.baiku.boot.common.type.TimeFormat;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

public class TestJob implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("test job runing:"+ TimeFormat.toStr(LocalDateTime.now(),TimeFormat.DATETIME));
    }
}
